package com.ruoyi.law.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 自定义字段对象 content_field
 * 
 * @author hwx
 * @date 2025-02-21
 */
@Data
public class ContentField extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long fieldId;

    /** 字段名 */
    @Excel(name = "字段名")
    private String fieldName;

    /** 字段标识 */
    @Excel(name = "字段标识")
    private String fieldValue;
    private String roleId;
    private String roleName;
    private String userId;
    private String userName;
    private String nickName;
    /** 是否需要签字    0不需要 1需要 */
    private Integer  isSignature;

    public void setFieldId(Long fieldId) 
    {
        this.fieldId = fieldId;
    }

    public Long getFieldId() 
    {
        return fieldId;
    }
    public void setFieldName(String fieldName) 
    {
        this.fieldName = fieldName;
    }

    public String getFieldName() 
    {
        return fieldName;
    }
    public void setFieldValue(String fieldValue) 
    {
        this.fieldValue = fieldValue;
    }

    public String getFieldValue() 
    {
        return fieldValue;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fieldId", getFieldId())
            .append("fieldName", getFieldName())
            .append("fieldValue", getFieldValue())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
